package org.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.common.R;
import org.example.pojo.entity.Comments;
import org.example.pojo.vo.CommentsVo;

public interface CommentsService extends IService<Comments> {
    Page<CommentsVo> pageList(Integer page, Integer size, String relateName, String delFlag);

    R getCommentsDetail(String scenicId);

    R addComments(Comments comments);
    R updateComments(Comments comments);

    void removeCommentsById(String id);
}
